<?php

CMS::File('theme/default/html/form/field');

class Template_Theme_Default_HTML_Form_Field_Checkbox extends Template_Theme_Default_HTML_Form_Field {

	public function display(){

?>
	<span class="form_field_title"><?php echo $this->title; ?>:</span>
	<div class="form_field_checkbox">
		<input type="checkbox" class="form_field_checkbox" name="<?php echo $this->name(); ?>"<? if($this->value){ ?> checked="checked"<?php } ?>>
	</div>
<?php
	}


}
